package com.trade.common.utils;

import java.util.UUID;

@SuppressWarnings("all")
public class IdGenerator {

	public static String createNewId() {
		return UUID.randomUUID().toString().replaceAll("-", "");
	}
	public static String create16Id(){
		String id=UUID.randomUUID().toString().replaceAll("-", "");
		return id.substring(0, 16);
	}
}
